Introduction to PostGIS¶
Getting Started¶
- This workshop uses a data bundle. Download it and extract to a convenient location.
- This workshop uses OpenGeo Suite. Download it and place it in a convenient location.
Workshop Materials¶
Inside the data bundle, you will find:
- workshop/
- a directory containing this HTML workshop
- data/
- a directory containing the shapefiles we will be loading
All the data in the package is public domain and freely redistributable. All the software in the package is open source, and freely redistributable. This workshop is licensed as Creative Commons “share alike with attribution”, and is freely redistributable under the terms of that license.
Workshop Modules¶
- Welcome
- Section 1: Introduction
- Section 2: Installation
- Section 3: Creating a Spatial Database
- Section 4: Loading spatial data
- Section 5: About our data
- Section 6: Simple SQL
- Section 7: Simple SQL Exercises
- Section 8: Geometries
- Section 9: Geometry Exercises
- Section 10: Spatial Relationships
- Section 11: Spatial Relationships Exercises
- Section 12: Spatial Joins
- Section 13: Spatial Joins Exercises
- Section 14: Spatial Indexing
- Section 15: Projecting Data
- Section 16: Projection Exercises
- Section 17: Geography
- Section 18: Geometry Constructing Functions
- Section 19: More Spatial Joins
- Section 20: Validity
- Section 21: Equality
- Section 22: Linear Referencing
- Section 23: Dimensionally Extended 9-Intersection Model
- Section 24: Clustering on Indices
- Section 25: 3-D
- Section 26: Nearest-Neighbour Searching
- Section 27: Tracking Edit History using Triggers
- Section 28: Advanced Geometry Constructions
- Section 29: Tuning PostgreSQL for Spatial
- Section 30: PostgreSQL Security
- Section 31: PostgreSQL Schemas
- Section 32: PostgreSQL Backup and Restore
- Section 33: Software Upgrades
- Appendix A: PostGIS Functions
- Appendix B: Glossary
- Appendix C: License
Links to have on hand¶
- PostGIS - http://postgis.net/
- PostgreSQL - http://www.postgresql.org/
- Docs - http://www.postgresql.org/docs/
- Downloads - http://www.postgresql.org/download/
- JDBC Driver - http://jdbc.postgresql.org/
- .Net Driver - http://npgsql.projects.postgresql.org/
- Python Driver - http://www.pygresql.org/
- C/C++ Driver - http://www.postgresql.org/docs/9.1/static/libpq.html
- PgAdmin III - http://www.pgadmin.org/
- Open Source Desktop Clients
- QGIS - http://qgis.org/
- OpenJUMP - http://openjump.org/
- uDig - http://udig.refractions.net/
Page Contents
Continue Reading
Next: Welcome
About Boundless
Boundless provides commercial open source software for internet mapping and geospatial application development. We are dedicated to the growth and support of open source software.
License
This work is licensed under a Creative Commons Non Commercial-Attribution-Share Alike 3.0 United States License. Feel free to use this material, but we ask that you please retain the Boundless branding, logos and style.

